export const columns = [
    {
        title: '创建时间',
        dataIndex: 'createTime',
        key: 'createTime',
        align: 'center',
        width: '180px'
    },
    {
        title: '商品名称',
        dataIndex: 'name',
        key: 'name',
        scopedSlots: { customRender: 'name' },
        align: 'center',
        width: '160px'
    },
    {
        title: '宠物种类',
        dataIndex: 'speciesId',
        key: 'speciesId',
        scopedSlots: { customRender: 'speciesId' },
        align: 'center',
        width: '90px'
    },
    {
        title: '宠物门店',
        dataIndex: 'storeId',
        key: 'storeId',
        scopedSlots: { customRender: 'storeId' },
        align: 'center',
        width: '200px'
    },
    {
        title: '库存配置',
        dataIndex: 'stock',
        key: 'stock',
        scopedSlots: { customRender: 'stock' },
        align: 'center',
        width: '80px'
    },
    {
        title: '销量',
        key: 'surplusStock',
        dataIndex: 'surplusStock',
        scopedSlots: { customRender: 'surplusStock' },
        align: 'center',
        width:'140px'
    },
    {
        title: '活动时间',
        dataIndex: 'activityStartTime',
        key: 'activityStartTime',
        scopedSlots: { customRender: 'activityStartTime' },
        align: 'center',
        width: '180px'
    },
    {
        title: '截止报名时间',
        dataIndex: 'closeTime',
        key: 'closeTime',
        scopedSlots: { customRender: 'closeTime' },
        align: 'center',
        width: '180px'
    },
    {
        title: '商城售价',
        dataIndex: 'price',
        key: 'price',
        align: 'center',
        width: '100px'
    },
    {
        title: '市场价',
        dataIndex: 'marketPrice',
        key: 'marketPrice',
        align: 'center',
        width: '100px'
    },
    {
        title: '是否热门',
        key: 'isHot',
        dataIndex: 'isHot',
        scopedSlots: { customRender: 'isHot' },
        align: 'center',
        width:'80px'
    },
    {
        title: '对象',
        key: 'target',
        dataIndex: 'target',
        scopedSlots: { customRender: 'target' },
        align: 'center',
        width:'120px'
    },
    {
        title: '活动地点',
        key: 'venue',
        dataIndex: 'venue',
        scopedSlots: { customRender: 'venue' },
        align: 'center',
        width:'120px'
    },
    {
        title: '备注',
        key: 'remarks',
        dataIndex: 'remarks',
        scopedSlots: { customRender: 'remarks' },
        align: 'center',
        width:'160px'
    },
    {
        title: '是否上架',
        key: 'status',
        dataIndex: 'status',
        scopedSlots: { customRender: 'status' },
        align: 'center',
        width:'90px'
    },
    {
        title: '排序',
        dataIndex: 'sort',
        key: 'sort',
        scopedSlots: { customRender: 'sort' },
        align: 'center',
        width:'90px'
    },
    {
        title: '图片',
        key: 'imageUrl',
        dataIndex: 'imageUrl',
        scopedSlots: { customRender: 'imageUrl' },
        align: 'center',
        width:'120px'
    },
    {
        title: '操作',
        key: 'id',
        dataIndex: 'id',
        scopedSlots: { customRender: 'operation' },
        width: '180px',
        fixed: 'right',
    },
]